<div id="mainContent">
		<div class="content">
			<h3>MES POSTS FAVORIS :</h3>
			<div class="postfavoris">
			<?php foreach($params['favoris'] as $favori) {?>
				<div>
					<h4><img src="images/favoris.png" alt=""/>
						<a href="index.php?control=salle&action=view&args[]=<?php echo $favori->getSalleId().'#'.$favori->getMessageId(); ?>"><?php echo $favori->getTitle(); ?></a>
					</h4>
					<p><?php echo $favori->getContenu(); ?></p>
				</div>
			<?php } ?>
			</div>
		</div>
	</div>